<?php
class dynamic_categories extends db_table {
	/**
	 * Dynamic categorie ID
	 *
	 * @var db_field
	 */
	public $dcat_id;
	/**
	 * Dynamic categorie name
	 *
	 * @var db_field
	 */
	public $dcat_name;
	/**
	 * Owner type
	 *
	 * @var db_field
	 */
	public $dcat_owner_type;
	/**
	 * Categorie default caption
	 *
	 * @var db_field
	 */
	public $dcat_caption;

	/**
	 * Constructor
	 *
	 * @param mixed $id
	 */
	public function __construct($id = null) {
		parent::__construct($id);
	}
	
	public static function type_user() {
		return "user";
	}
	
	public static function type_group() {
		return "group";
	}
}
?>